package com.web.exiaodao.business.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.web.exiaodao.business.entity.FanliFlow;
import com.web.exiaodao.remote.vo.FanliFlowVo;


public interface FanliFlowRepository extends
		PagingAndSortingRepository<FanliFlow, Long>,
		JpaSpecificationExecutor<FanliFlow> {
	public FanliFlow findByIdAndStatusNot(Long id,Integer status);
	
	//根据ukey 查询 userid
	public FanliFlowVo findByExukeyAndStatusNot(String exukey,Integer status);
}
